package com.chen.back.service;

import com.chen.back.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chen
 * @since 2022-02-24
 */
public interface PermissionService extends IService<Permission> {
    Set<String> getAllPermissionByUsername(String username);

    public List<Permission> tree();
}
